package org.kjtc.entity;

import javax.persistence.*;
import java.sql.Timestamp;

/**
 * @Author: xiaojinlu1990@ 163.com
 * @Date: 2019/3/19 0019.
 * @Version 1.0
 */

public class WxUserEntity {
    private String openid;				//	用户的标识，对当前公众号唯一
    private Integer userPhone;				//	手机号
    private String vehicleType;				//	车辆类型
    private Integer subscribe;				//	用户是否订阅该公众号标识，值为0时
    private String nickname;				//	用户的昵称
    private Integer sex;				//	用户的性别
    private String city;				//	用户所在城市
    private String country;				//	用户所在国家
    private String province;				//	用户所在省份
    private String groupid;				//	用户的语言，简体中文为zh_CN
    private String headimgurl;				//	用户头像
    private Timestamp subscribeTime;				//	用户关注时间
    private String unionid;				//	只有在用户将公众号绑定到微信开放平台帐号后，才会出现该字段。
    private String remark;				//	备注
    private String groupId;				//	用户所在的分组ID
    private String tagidList;				//	用户被打上的标签ID列表
    private String subscribeScene;				//	用户关注的渠道来源
    private Timestamp qrScene;				//	二维码扫码场景
    private String qrSceneStr;				//	二维码扫码场景描述
    private Integer enabled;				//	是否可用
    private String createUser;				//	创建者
    private Timestamp createDttm;				//	创建时间
    private String updateUser;				//	更新者
    private Timestamp updateDttm;				//	更新时间
    private String language;				//	语言
    private String privilege;				//	用户特权信息，json 数组，如微信沃卡用户为（chinaunicom）

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public Integer getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(Integer userPhone) {
        this.userPhone = userPhone;
    }

    public String getVehicleType() {
        return vehicleType;
    }

    public void setVehicleType(String vehicleType) {
        this.vehicleType = vehicleType;
    }

    public Integer getSubscribe() {
        return subscribe;
    }

    public void setSubscribe(Integer subscribe) {
        this.subscribe = subscribe;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getGroupid() {
        return groupid;
    }

    public void setGroupid(String groupid) {
        this.groupid = groupid;
    }

    public String getHeadimgurl() {
        return headimgurl;
    }

    public void setHeadimgurl(String headimgurl) {
        this.headimgurl = headimgurl;
    }

    public Timestamp getSubscribeTime() {
        return subscribeTime;
    }

    public void setSubscribeTime(Timestamp subscribeTime) {
        this.subscribeTime = subscribeTime;
    }

    public String getUnionid() {
        return unionid;
    }

    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getTagidList() {
        return tagidList;
    }

    public void setTagidList(String tagidList) {
        this.tagidList = tagidList;
    }

    public String getSubscribeScene() {
        return subscribeScene;
    }

    public void setSubscribeScene(String subscribeScene) {
        this.subscribeScene = subscribeScene;
    }

    public Timestamp getQrScene() {
        return qrScene;
    }

    public void setQrScene(Timestamp qrScene) {
        this.qrScene = qrScene;
    }

    public String getQrSceneStr() {
        return qrSceneStr;
    }

    public void setQrSceneStr(String qrSceneStr) {
        this.qrSceneStr = qrSceneStr;
    }

    public Integer getEnabled() {
        return enabled;
    }

    public void setEnabled(Integer enabled) {
        this.enabled = enabled;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Timestamp getCreateDttm() {
        return createDttm;
    }

    public void setCreateDttm(Timestamp createDttm) {
        this.createDttm = createDttm;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Timestamp getUpdateDttm() {
        return updateDttm;
    }

    public void setUpdateDttm(Timestamp updateDttm) {
        this.updateDttm = updateDttm;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public String getPrivilege() {
        return privilege;
    }

    public void setPrivilege(String privilege) {
        this.privilege = privilege;
    }

    @Override
    public String toString() {
        return "WxUserEntity{" +
                "openid='" + openid + '\'' +
                ", userPhone=" + userPhone +
                ", vehicleType='" + vehicleType + '\'' +
                ", subscribe=" + subscribe +
                ", nickname='" + nickname + '\'' +
                ", sex=" + sex +
                ", city='" + city + '\'' +
                ", country='" + country + '\'' +
                ", province='" + province + '\'' +
                ", groupid='" + groupid + '\'' +
                ", headimgurl='" + headimgurl + '\'' +
                ", subscribeTime=" + subscribeTime +
                ", unionid='" + unionid + '\'' +
                ", remark='" + remark + '\'' +
                ", groupId='" + groupId + '\'' +
                ", tagidList='" + tagidList + '\'' +
                ", subscribeScene='" + subscribeScene + '\'' +
                ", qrScene=" + qrScene +
                ", qrSceneStr='" + qrSceneStr + '\'' +
                ", enabled=" + enabled +
                ", createUser='" + createUser + '\'' +
                ", createDttm=" + createDttm +
                ", updateUser='" + updateUser + '\'' +
                ", updateDttm=" + updateDttm +
                ", language='" + language + '\'' +
                ", privilege='" + privilege + '\'' +
                '}';
    }
}
